package itsm.isperp.module.entity.incident;

import itsm.isperp.workflow.domain.BaseProcessBean;

import java.sql.Timestamp;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 事件实体
 * 
 * @author lizx
 * @date 2013-4-11
 */
@Entity
@Table(name = "icd_incident")
public class IcdIncident extends BaseProcessBean {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	@Column
	protected String code;

	@Column
	protected String title;

	@Column
	protected String description;

	@Column
	protected String cusUserId;

	@Column
	protected String icdCategoryId;

	@Column
	protected String icdCategoryName;

	/**
	 * 影响度
	 */
	@Column
	protected String effectName;

	/**
	 * 紧急度名称
	 */
	@Column
	protected String urgencyName;

	/**
	 * 优先级
	 */
	@Column
	protected String priorityName;

	/**
	 * 处理方式
	 */
	@Column
	protected String dealType;

	/**
	 * 事件性质
	 */
	@Column
	protected String incidentType;

	/**
	 * 
	 */
	@Column
	protected String slmId;
	/**
	 * 
	 */
	@Column
	protected String slmName;

	/**
	 * 支持人员id
	 */
	@Column
	protected String supporterId;

	/**
	 * 支持人员
	 */
	@Column
	protected String supporterName;

	@Column
	protected Timestamp assignDate;

	@Column
	protected String assignerId;
	@Column
	protected String assignerName;

	@Column
	protected String responserId;

	@Column
	protected Timestamp responseDate;

	@Column
	protected String arriverId;

	@Column
	protected Timestamp arrivalDate;

	/**
	 * 故障定位
	 */
	@Column
	protected String faultlocationId;

	@Column
	protected String faultlocationName;

	@Column
	protected Timestamp solverSubmitTime;

	@Column
	protected Timestamp deadline;

	@Column
	protected Timestamp happenTime;
	/**
	 * 解决者id
	 */
	@Column
	protected String solverId;

	/**
	 * 解决者姓名
	 */
	@Column
	protected String solverName;

	/**
	 * 解决者时间
	 */
	@Column
	protected Timestamp solvedDate;

	/**
	 * 是否服务台解决
	 */
	@Column
	protected boolean serviceDeskSolved;

	/**
	 * 原因分析
	 */
	@Column
	protected String reasonAnalyze;

	/**
	 * 处理过程
	 */
	@Column
	protected String handleProcess;

	@Column
	protected String solution;

	@Column
	protected String solutionWay;
	

	
	/**
	 * 解决阶段
	 */
	@Column
	protected String solutionStage;

	@Column
	protected String status;

	@Column
	protected String closeCode;

	@Column
	protected boolean areFeedback;

	@Column
	protected String closeWay;
	
	@Column
  protected String backOpnion;


	/**
	 * 客户意见
	 */
	@Column
	protected String customerOpinion;

	@Column
	protected String closerId;

	@Column
	protected Date closedDate;

	@Column
	protected String ciId;

	@Column
	protected String serviceCategoryId;

	@Column
	protected String projectId;
	@Column
  protected String area;
	@Column
  protected String areaDetail;
	
	/*@Column
  protected String mailId;*/
	
	protected String projectName;

	public String getProjectName() {
		return projectName;
	}

	public void setProjectName(String projectName) {
		this.projectName = projectName;
	}

	@Column
	protected String source;

	@Column
	protected Integer slaStatus;

	/**
	 * 满意度
	 */
	@Column
	protected int satisfaction;

	/**
	 * 期望完成时间
	 */
	@Column
	protected Timestamp expectTime;

	/**
	 * 发送频率
	 */
	@Column
	protected String occurrenceFrequency;

	@Column
	protected String approvalType;

	@Column
	protected String linkmanName;

	@Column
	protected String linkmanPhone;

	@Column
	protected boolean areVip;

	@Column
	protected String ciCode;
	
	@Column
	protected String serviceCategoryName;
	
	@Column
  protected Double timeCost;
	
	/*@Column
  protected String descriptionHtml;
	
	*//**
   * 服务质量
   *//*
  @Column
  protected int satisfactionQuality;
  *//**
   * 服务态度
   *//*
  @Column
  protected int satisfactionApproach;

  @Column
  protected int satisfactionTimely;*/
	

	public String getCiCode() {
		return ciCode;
	}

	public void setCiCode(String ciCode) {
		this.ciCode = ciCode;
	}

	public boolean isAreVip() {
		return areVip;
	}

	public void setAreVip(boolean areVip) {
		this.areVip = areVip;
	}

	public String getLinkmanName() {
		return linkmanName;
	}

	public void setLinkmanName(String linkmanName) {
		this.linkmanName = linkmanName;
	}

	public String getLinkmanPhone() {
		return linkmanPhone;
	}

	public void setLinkmanPhone(String linkmanPhone) {
		this.linkmanPhone = linkmanPhone;
	}

	public Timestamp getHappenTime() {
		return happenTime;
	}

	public void setHappenTime(Timestamp happenTime) {
		this.happenTime = happenTime;
	}

	public String getApprovalType() {
		return approvalType;
	}

	public void setApprovalType(String approvalType) {
		this.approvalType = approvalType;
	}

	public String getOccurrenceFrequency() {
		return occurrenceFrequency;
	}

	public void setOccurrenceFrequency(String occurrenceFrequency) {
		this.occurrenceFrequency = occurrenceFrequency;
	}

	public Timestamp getExpectTime() {
		return expectTime;
	}

	public void setExpectTime(Timestamp expectTime) {
		this.expectTime = expectTime;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getCusUserId() {
		return cusUserId;
	}

	public void setCusUserId(String cusUserId) {
		this.cusUserId = cusUserId;
	}

	public String getIcdCategoryId() {
		return icdCategoryId;
	}

	public void setIcdCategoryId(String icdCategoryId) {
		this.icdCategoryId = icdCategoryId;
	}

	public String getIcdCategoryName() {
		return icdCategoryName;
	}

	public void setIcdCategoryName(String icdCategoryName) {
		this.icdCategoryName = icdCategoryName;
	}

	public String getEffectName() {
		return effectName;
	}

	public void setEffectName(String effectName) {
		this.effectName = effectName;
	}

	public String getUrgencyName() {
		return urgencyName;
	}

	public void setUrgencyName(String urgencyName) {
		this.urgencyName = urgencyName;
	}

	public String getPriorityName() {
		return priorityName;
	}

	public void setPriorityName(String priorityName) {
		this.priorityName = priorityName;
	}

	public String getSlmId() {
		return slmId;
	}

	public void setSlmId(String slmId) {
		this.slmId = slmId;
	}

	public String getSupporterId() {
		return supporterId;
	}

	public void setSupporterId(String supporterId) {
		this.supporterId = supporterId;
	}

	public String getSupporterName() {
		return supporterName;
	}

	public void setSupporterName(String supporterName) {
		this.supporterName = supporterName;
	}

	public Timestamp getAssignDate() {
		return assignDate;
	}

	public void setAssignDate(Timestamp assignDate) {
		this.assignDate = assignDate;
	}

	public String getResponserId() {
		return responserId;
	}

	public void setResponserId(String responserId) {
		this.responserId = responserId;
	}

	public Timestamp getResponseDate() {
		return responseDate;
	}

	public void setResponseDate(Timestamp responseDate) {
		this.responseDate = responseDate;
	}

	public String getArriverId() {
		return arriverId;
	}

	public void setArriverId(String arriverId) {
		this.arriverId = arriverId;
	}

	public Timestamp getArrivalDate() {
		return arrivalDate;
	}

	public void setArrivalDate(Timestamp arrivalDate) {
		this.arrivalDate = arrivalDate;
	}

	public String getSolverId() {
		return solverId;
	}

	public void setSolverId(String solverId) {
		this.solverId = solverId;
	}

	public String getSolverName() {
		return solverName;
	}

	public void setSolverName(String solverName) {
		this.solverName = solverName;
	}

	public Timestamp getSolvedDate() {
		return solvedDate;
	}

	public void setSolvedDate(Timestamp solvedDate) {
		this.solvedDate = solvedDate;
	}

	public boolean getServiceDeskSolved() {
		return serviceDeskSolved;
	}

	public void setServiceDeskSolved(boolean serviceDeskSolved) {
		this.serviceDeskSolved = serviceDeskSolved;
	}

	public String getReasonAnalyze() {
		return reasonAnalyze;
	}

	public void setReasonAnalyze(String reasonAnalyze) {
		this.reasonAnalyze = reasonAnalyze;
	}

	public String getHandleProcess() {
		return handleProcess;
	}

	public void setHandleProcess(String handleProcess) {
		this.handleProcess = handleProcess;
	}

	public String getSolution() {
		return solution;
	}

	public void setSolution(String solution) {
		this.solution = solution;
	}

	public String getSolutionWay() {
		return solutionWay;
	}

	public void setSolutionWay(String solutionWay) {
		this.solutionWay = solutionWay;
	}

	public String getSolutionStage() {
		return solutionStage;
	}

	public void setSolutionStage(String solutionStage) {
		this.solutionStage = solutionStage;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getCloseCode() {
		return closeCode;
	}

	public void setCloseCode(String closeCode) {
		this.closeCode = closeCode;
	}

	public String getCloseWay() {
		return closeWay;
	}

	public void setCloseWay(String closeWay) {
		this.closeWay = closeWay;
	}

	public String getCustomerOpinion() {
		return customerOpinion;
	}

	public void setCustomerOpinion(String customerOpinion) {
		this.customerOpinion = customerOpinion;
	}

	public String getCloserId() {
		return closerId;
	}

	public void setCloserId(String closerId) {
		this.closerId = closerId;
	}

	public Date getClosedDate() {
		return closedDate;
	}

	public void setClosedDate(Date closedDate) {
		this.closedDate = closedDate;
	}

	public String getCiId() {
		return ciId;
	}

	public void setCiId(String ciId) {
		this.ciId = ciId;
	}

	public String getServiceCategoryId() {
		return serviceCategoryId;
	}

	public void setServiceCategoryId(String serviceCategoryId) {
		this.serviceCategoryId = serviceCategoryId;
	}

	public String getProjectId() {
		return projectId;
	}

	public void setProjectId(String projectId) {
		this.projectId = projectId;
	}

	public int getSatisfaction() {
		return satisfaction;
	}

	public void setSatisfaction(int satisfaction) {
		this.satisfaction = satisfaction;
	}

	public boolean isAreFeedback() {
		return areFeedback;
	}

	public void setAreFeedback(boolean areFeedback) {
		this.areFeedback = areFeedback;
	}

	public String getSource() {
		return this.source;
	}

	public void setSource(String source) {
		this.source = source;
	}

	public String getSlmName() {
		return slmName;
	}

	public void setSlmName(String slmName) {
		this.slmName = slmName;
	}

	public Integer getSlaStatus() {
		return slaStatus;
	}

	public void setSlaStatus(Integer slaStatus) {
		this.slaStatus = slaStatus;
	}

	public String getDealType() {
		return dealType;
	}

	public void setDealType(String dealType) {
		this.dealType = dealType;
	}

	public String getIncidentType() {
		return incidentType;
	}

	public void setIncidentType(String incidentType) {
		this.incidentType = incidentType;
	}

	public String getAssignerId() {
		return assignerId;
	}

	public void setAssignerId(String assignerId) {
		this.assignerId = assignerId;
	}

	public String getAssignerName() {
		return assignerName;
	}

	public void setAssignerName(String assignerName) {
		this.assignerName = assignerName;
	}

	public String getFaultlocationId() {
		return faultlocationId;
	}

	public void setFaultlocationId(String faultlocationId) {
		this.faultlocationId = faultlocationId;
	}

	public String getFaultlocationName() {
		return faultlocationName;
	}

	public void setFaultlocationName(String faultlocationName) {
		this.faultlocationName = faultlocationName;
	}

	public Timestamp getSolverSubmitTime() {
		return solverSubmitTime;
	}

	public void setSolverSubmitTime(Timestamp solverSubmitTime) {
		this.solverSubmitTime = solverSubmitTime;
	}

	public Timestamp getDeadline() {
		return deadline;
	}

	public void setDeadline(Timestamp deadline) {
		this.deadline = deadline;
	}
	
	public String getServiceCategoryName() {
		return serviceCategoryName;
	}

	public void setServiceCategoryName(String serviceCategoryName) {
		this.serviceCategoryName = serviceCategoryName;
	}


  public String getBackOpnion() {
    return backOpnion;
  }

  public void setBackOpnion(String backOpnion) {
    this.backOpnion = backOpnion;
  }

  public String getArea() {
    return area;
  }

  public void setArea(String area) {
    this.area = area;
  }

  public String getAreaDetail() {
    return areaDetail;
  }

  public void setAreaDetail(String areaDetail) {
    this.areaDetail = areaDetail;
  }

  public Double getTimeCost() {
    return timeCost;
  }

  public void setTimeCost(Double timeCost) {
    this.timeCost = timeCost;
  }
  
}
